package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 店铺弹窗海报对象 shanglala_store_popup_window
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class StorePopupWindow
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 标题 */
    @Excel(name = "标题")
    private String name;

    /** 弹窗海报图链接 */
    @Excel(name = "弹窗海报图链接")
    private String poster;

    /** 弹窗海报链接位置 */
    @Excel(name = "弹窗海报链接位置")
    private String pageUrl;

    /** 前缀 */
    @Excel(name = "前缀")
    private String pagePrefix;

    /** 链接名称 */
    @Excel(name = "链接名称")
    private String pageTitle;

    /** 链接类型0为小程序内页链接1为小程序外链接,默认为内页链接 */
    @Excel(name = "链接类型0为小程序内页链接1为小程序外链接,默认为内页链接")
    private Integer linkType;

    /** 外链接的小程序appid */
    @Excel(name = "外链接的小程序appid")
    private String appid;

    /** 外连接的小程序页面路径 */
    @Excel(name = "外连接的小程序页面路径")
    private String path;

    /** 弹窗次数 1 为每次 2 为仅首次 */
    @Excel(name = "弹窗次数 1 为每次 2 为仅首次")
    private Integer displayType;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private Long startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private Long endTime;

    /** 是否有效 1 是 0 否 */
    @Excel(name = "是否有效 1 是 0 否")
    private Integer isUseful;

    /** 是否开启 1 是 0 否 */
    @Excel(name = "是否开启 1 是 0 否")
    private Integer isOpen;

    /** 是否删除 1 是 0否 */
    @Excel(name = "是否删除 1 是 0否")
    private Integer isDel;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Long addTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPoster(String poster) 
    {
        this.poster = poster;
    }

    public String getPoster() 
    {
        return poster;
    }
    public void setPageUrl(String pageUrl) 
    {
        this.pageUrl = pageUrl;
    }

    public String getPageUrl() 
    {
        return pageUrl;
    }
    public void setPagePrefix(String pagePrefix) 
    {
        this.pagePrefix = pagePrefix;
    }

    public String getPagePrefix() 
    {
        return pagePrefix;
    }
    public void setPageTitle(String pageTitle) 
    {
        this.pageTitle = pageTitle;
    }

    public String getPageTitle() 
    {
        return pageTitle;
    }
    public void setLinkType(Integer linkType) 
    {
        this.linkType = linkType;
    }

    public Integer getLinkType() 
    {
        return linkType;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setDisplayType(Integer displayType) 
    {
        this.displayType = displayType;
    }

    public Integer getDisplayType() 
    {
        return displayType;
    }
    public void setStartTime(Long startTime) 
    {
        this.startTime = startTime;
    }

    public Long getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Long endTime) 
    {
        this.endTime = endTime;
    }

    public Long getEndTime() 
    {
        return endTime;
    }
    public void setIsUseful(Integer isUseful) 
    {
        this.isUseful = isUseful;
    }

    public Integer getIsUseful() 
    {
        return isUseful;
    }
    public void setIsOpen(Integer isOpen) 
    {
        this.isOpen = isOpen;
    }

    public Integer getIsOpen() 
    {
        return isOpen;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }
    public void setAddTime(Long addTime) 
    {
        this.addTime = addTime;
    }

    public Long getAddTime() 
    {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("name", getName())
            .append("poster", getPoster())
            .append("pageUrl", getPageUrl())
            .append("pagePrefix", getPagePrefix())
            .append("pageTitle", getPageTitle())
            .append("linkType", getLinkType())
            .append("appid", getAppid())
            .append("path", getPath())
            .append("displayType", getDisplayType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("isUseful", getIsUseful())
            .append("isOpen", getIsOpen())
            .append("isDel", getIsDel())
            .append("addTime", getAddTime())
            .toString();
    }
}
